
package com.work.db.entity;

import com.work.i18n.Messages;

public enum PresentsFieldsEnum implements FieldEnum {
	WORK_BEGIN("workBegin"), 
	WORK_END("workEnd"), 
	LUNCH_BEGIN("lunchBegin"), 
	LUNCH_END("lunchEnd");

	private String fieldName;
	
	PresentsFieldsEnum(String fieldName)
	{
		this.fieldName = fieldName;
	}

	public String getFieldName()
	{
		return fieldName;
	}

	public void setFieldName(String name)
	{
		this.fieldName = name;
	}

	public String getFieldLabel() {
		return Messages.get(fieldName);
	}
}
